package 线程.day4.demo1;

public class T implements Runnable
{
    @Override
    public void run() {
        System.out.println("wait前。。。");
        synchronized (this){
            System.out.println("进入同步代码块。。。");
            try {
                this.wait();
                System.out.println("子线程苏醒。。。");
            } catch (InterruptedException e) {}
        }
    }
}
